.bg-level-1 {
  background: url("~@/assets/img/bg-level-1.png") no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
}

.wrong-question-list {
  .wrong-question-breadcrumb {
    padding: 25px 0 15px 0;
  }
  .wrong-question-banner {
    background: #ffffff;
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    .title {
      font-weight: bold;
      color: #363636;
      font-size: 20px;
      padding-bottom: 20px;
      line-height: 1;
    }
    .el-form {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      .el-form-item {
        margin-bottom: 16px;
        .el-form-item__content {
          .el-date-editor {
            width: 260px;
            height: 36px;
            line-height: 36px;
            .el-range__icon {
              color: #949494;
              line-height: 28px;
            }
            .el-range-separator {
              color: #363636;
            }
            .el-range-input {
              border-color: #e5e5e5;
              color: #363636;

              &::-webkit-input-placeholder {
                color: #949494;
              }
            }
          }
          .el-select {
            width: 260px;
            .el-input__inner {
              height: 36px;
              line-height: 36px;
              border-color: #e5e5e5;
              &::-webkit-input-placeholder {
                color: #949494;
              }
            }
            .el-select__caret {
              color: #949494;
              line-height: 36px;
              font-weight: 900;
            }
          }
          .el-cascader {
            min-width: 260px;
            .el-cascader__tags {
              flex-wrap: nowrap;
              .el-tag {
                max-width: 80%;
              }
            }
            .el-input__inner {
              border-color: #e5e5e5;
              height: 36px;
              line-height: 36px;
              &::-webkit-input-placeholder {
                color: #949494;
                font-size: 14px;
              }
            }

            .el-icon-arrow-down {
              color: #949494;
              line-height: 36px;
              font-weight: 900;
            }
          }
        }
        .el-form-item__label {
          width: 100px;
          text-align: left;
          margin-bottom: 10px;
        }
        &.item-source {
          display: flex;
          margin-bottom: 0;

          .el-form-item__content {
            flex: 1;
          }
          .el-radio-group {
            .el-radio-button {
              margin-bottom: 10px;
            }
          }
        }
      }
    }
  }
  .wrong-question-number {
    margin: 20px 0;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    background: #ffffff;
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
    border-radius: 12px;
    &.question-number-fixed {
      position: fixed;
      top: 0;
      z-index: 999;
      width: 1200px;
      margin-top: 0;
    }
    .button {
      height: 40px;
    }
    .number-list {
      flex: 1;
      display: flex;
      .number-item {
        width: 40px;
        height: 40px;
        background: #f6f6f6;
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        text-align: center;
        line-height: 40px;
        color: #6b6b6b;
        margin-left: 16px;
        &.checked-item {
          background: #1271ff;
          border-color: #1271ff;
          color: #fff;
        }
        &:hover {
          background: #1271ff;
          border-color: #1271ff;
          color: #fff;
        }
      }
    }
  }
  .wrong-question-container {
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
    border-radius: 12px;
    .homework-item {
      padding: 30px;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: center;
      justify-content: space-between;
      &:last-child {
        border: none;
      }
      .homework-item-left {
        display: flex;
        align-items: center;
        .item-type {
          width: 73px;
          height: 82px;
          line-height: 88px;
          text-align: center;
          font-size: 18px;
          font-weight: 900;
          color: #fff;
          margin-right: 10px;
          > span {
            margin-left: -1px;
          }
          &.type-1 {
            background-image: url(../img/bg-homework-1.png);
          }
          &.type-2 {
            background-image: url(../img/bg-homework-2.png);
          }
        }
        .item-info {
          .title {
            font-size: 18px;
            font-weight: bold;
            color: #363636;
            line-height: 1;
            margin-bottom: 20px;
            .number {
              color: #1271ff;
              font-weight: normal;
              font-size: 14px;
              border: 1px solid #1271ff;
              border-radius: 4px;
              padding: 5px;
              margin-left: 14px;
            }
          }
          .other {
            .score {
              font-size: 16px;
              font-weight: bold;
              color: #ff9611;
              margin-right: 12px;
            }
            .time {
              color: #6b6b6b;
            }
          }
        }
      }
      .homework-item-right {
        .status {
          color: #f9413a;
        }
        .button-list {
          .button {
            width: 100px;
          }
        }
      }
    }
  }
}
.homework-paper {
  padding: 10px 0;
  display: flex;

  &.fix-container {
    .homework-paper-right {
      // position: fixed;
      position: sticky;
      height: 100%;
      overflow-y: auto;
      top: 0;
      // right: 50%;
      // transform: translateX(600px);
    }
  }

  .homework-paper-left {
    flex: 1;
    overflow: hidden;
    display: flex;
    background: #ffffff;
    padding-left: 60px;
    min-height: 1200px;

    .potted-line {
      width: 1px;
      border: 1px dotted #ccc;
      position: relative;

      .homework-info-left {
        position: absolute;
        width: 900px;
        // height: 900px;
        transform-origin: 0% 0%;
        transform: rotate(-90deg) translateY(-100%);
        left: -16px;
        top: 900px;

        // right: 100px;
        .homework-info-left-item {
          transform: none;
          font-size: 16px;
          margin-right: 30px;

          u {
            display: inline-block;
            width: 100px;
            height: 1px;
            background: #363636;
          }
        }
      }

      .potted-line-text {
        display: block;
        font-size: 12px;
        line-height: 60px;
        position: absolute;
        transform: rotate(-90deg);
        left: -6px;
        color: #949494;
        transform: rotate(-90deg);
      }

      .potted-line-text1 {
        top: 200px;
      }

      .potted-line-text2 {
        top: 500px;
      }

      .potted-line-text3 {
        top: 800px;
      }
    }

    .exam {
      position: relative;
      min-height: 910px;
      width: 100%;
      padding: 30px;

      .exam-head {

        .exam-title .exam-maintitle,
        .exam-title .exam-maintitle-disabled {
          font-size: 20px;
          font-weight: 900;
          line-height: 1;
          border-color: transparent;
          text-align: center;
          display: block;
          width: 100%;
          margin-bottom: 20px;
        }

        .exam-subtitle {
          line-height: 1;
          font-size: 18px;
          text-align: center;
          margin-bottom: 18px;
        }

        .exam-testinfo {
          text-align: center;
          line-height: 1;
          margin-bottom: 10px;
          font-size: 16px;
        }

        .exam-studentinfo {
          text-align: center;
          font-size: 16px;
          line-height: 1;
          margin-bottom: 15px;
          display: flex;
          align-items: center;
          justify-content: center;

          .studentinfo-item {
            margin-right: 20px;
            display: flex;
            align-items: center;

            u {
              display: inline-block;
              min-width: 70px;
              min-height: 17px;
              padding: 0 5px;
              text-decoration: none;
              border-bottom: 1px solid;
              line-height: 1;
            }

            &:last-child {
              margin-right: 0;
            }
          }
        }

        .exam-score {
          /* text-align: center; */
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 25px;
          margin-bottom: 25px;

          table {
            border-collapse: collapse;
          }

          table td {
            border: 1px solid #e5e5e5;
            width: 50px;
            height: 25px;
            text-align: center;
            font-size: 12px;
          }
        }
      }
    }

    .question-star {
      position: absolute;
      right: 20px;
      top: 20px;

      .icon-xingxing {
        color: #ff9611;
        font-size: 26px;
      }
    }

    .question-style .question-style-contain .question-title {
      padding-right: 20px;
    }
  }

  .homework-paper-right {
    width: 280px;
    margin-left: 20px;
    display: block;

    .paper-right-time {
      background: #ffffff;
      padding: 25px;
      margin-bottom: 20px;

      .time-title {
        text-align: center;
        font-size: 16px;

        i {
          color: #f19a3c;
          font-weight: 500;
          font-size: 22px;
          vertical-align: middle;
          display: inline-block;
          margin-top: -3px;
        }
      }

      .time-contain {
        margin-top: 30px;
        width: 100%;
        height: 50px;
        line-height: 50px;
        border-radius: 4px;
        background-color: #f2f7fe;
        font-size: 24px;
        font-weight: bold;
        color: #1271ff;
        text-align: center;
      }

      .question-progress {
        width: 100%;
        margin-top: 35px;

        .question-progress-box {
          width: 230px;
          height: 10px;
          background: #eeeeee;
          border-radius: 5px;

          .question-progress-contain {
            height: 100%;
            background: #1271ff;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            overflow: visible;
            position: relative;

            .circle {
              display: inline-block;
              width: 14px;
              height: 14px;
              background: #1271ff;
              border-radius: 50%;
              position: relative;
              position: absolute;
              right: 0;
              transform: translateX(50%);

              .text {
                position: absolute;
                color: #1271ff;
                top: -18px;
                left: 50%;
                transform: translateX(-50%);
              }
            }
          }
        }
      }

      .time-scroe {
        color: #ff9611;
        font-size: 16px;
        font-weight: 900;
        text-align: center;
        margin: 20px 0 30px 0;

        .number {
          font-size: 48px;
        }
      }

      .time-info {
        display: flex;
        align-items: center;

        .time-info-item {
          display: flex;
          flex-direction: column;
          text-align: center;
          color: #999999;
          flex: 1;

          .number {
            color: #1271ff;
            font-size: 16px;
            font-weight: 900;
            margin-top: 5px;
          }
        }

        .time-info-line {
          width: 1px;
          height: 24px;
          background: #eeeeee;
        }
      }
    }

    .paper-right-contain {
      background: #ffffff;
      border-radius: 0;
      margin-bottom: 20px;
      margin-left: 0;
    }

    .paper-right-contain-lookpaper {
      .card-item-list {
        display: flex;
        flex-wrap: wrap;
      }

      &.knowledge-question-right .question-right-card .scroll-box .card-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        line-height: 1;

        .number {
          display: inline;
        }

        .icon-xingxing {
          color: #ff9611;
        }
      }

      .info-item-star {
        .icon-xingxing {
          width: 24px;
          height: 24px;
          margin-bottom: 10px;
          text-align: center;
          line-height: 24px;
          color: #ff9611;
          font-size: 24px;
          border: 1px solid transparent;
        }
      }
    }

    .button-box {
      .button {
        width: 100%;
        margin: 0;
        height: 50px;
        margin-bottom: 20px;
        font-size: 16px;
      }
    }
  }

  .fixed-btn {
    position: fixed;
    top: 40%;
    left: 0px;
    width: 50px;
    height: auto;
  }

  .fixed-btn .el-button {
    width: 100%;
    border-radius: 0 10px 10px 0;
  }

  .fixed-btn .el-button span {
    display: flex;
    flex-direction: column;
    white-space: normal;
  }

  .exam-notice {
    color: #999999;
    text-align: left;
  }

  .exam-noticetext {
    font-size: 12px;
  }

  .exam-body {
    padding-bottom: 50px;
    margin-bottom: 50px;
    margin-top: 20px;
  }

  .partname {
    line-height: 46px;
    font-size: 16px;
    background-color: #eee;
    text-align: center;
  }

  .exam-body .parthead .partnote {
    color: #666666;
    text-align: left;
    line-height: 32px;
  }

  .exam-body .questype {
    padding: 10px 6px;
    border: 1px solid transparent;
    margin-top: 25px;
  }

  .exam-body .questype,
  .exam-body .partbody .questypehead {
    margin-bottom: 20px;
    position: relative;
  }

  .exam-body .questype,
  .exam-body .partbody .questypehead {
    margin-bottom: 20px;
    position: relative;
  }

  .exam-body .partbody .questypescore table {
    width: 100%;
    border-collapse: collapse;
  }

  .exam-body .partbody .questypescore table td {
    border: 1px solid #e5e5e5;
    text-align: center;
  }

  .exam-body .partbody .questypetitle.div-data-cate {
    display: inline-block;
    max-width: 420px;
    min-width: 200px;
  }

  .exam-body .partbody .questypetitle {
    font-weight: bold;
    padding-left: 20px;
    text-align: left;
  }

  .questypebody .list-box {
    padding: 0;
  }

  .list-box {
    margin: 0;
    text-align: left;
    padding: 15px;
  }

  .questypebody .list-box li .fieldtip {
    padding: 5px 10px;
    opacity: 0;
  }

  .questypebody .list-box li .fieldtip .fieldtip-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .questypebody .list-box li:hover .fieldtip {
    opacity: 1;
  }

  .questypebody .list-box li:hover {
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
  }

  .list-box li {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s linear;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
  }

  .quesborder {
    font-size: 14px;
    display: block;
    padding: 0;
    line-height: 25px;
    letter-spacing: 1px;
    word-break: break-all;
    border-radius: 10px 10px 0 0;
  }

  .questypebody .list-box li .title {
    padding-top: 20px;
  }

  .title {
    overflow: hidden;
    /* zoom: 1; */
    /* transform: scale(1.1, 1.1); */
    clear: both;
    line-height: 25px;
    font-size: 14px;
    padding: 20px 20px 20px 20px;
    position: relative;
    word-break: break-word;
  }

  .answer {
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
  }

  .paper-student-score-info>div {
    padding-bottom: 10px;
    color: #333;
  }

  .answer>div {
    padding-bottom: 15px;
  }

  .question-title-s {
    padding: 5px 20px;
  }
}
.knowledge-question {
  display: flex;
  height: 100%;
  overflow: hidden;

  .knowledge-question-left {
    background: #ffffff;
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
    border-radius: 12px;
    flex: 1;
    height: fit-content;
    max-height: 100%;
    overflow-y: auto;
    @include common-scrollbar;
  }

  .knowledge-question-right {
    width: 280px;
    min-height: 320px;
    max-height: 500px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    margin-left: 20px;

    .question-right-top {
      text-align: center;
      line-height: 1;
      padding-top: 30px;

      .icon-datiqia {
        color: #ff9611;
        font-size: 20px;
        vertical-align: middle;
        margin-right: 8px;
      }
      .icon-datiqia:before {
        content: "\e63b";
    }
    }

    .question-right-card {
      margin: 15px 30px;
      flex: 1;
      overflow-y: auto;

      &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
      }

      &::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 2px;
      }

      &::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 10px;
      }

      .scroll-box {
        .card-item {
          display: inline-block;
          width: 36px;
          height: 36px;
          border-radius: 4px;
          border: 1px solid #e5e5e5;
          margin-right: 10px;
          margin-bottom: 10px;
          color: #363636;
          text-align: center;
          line-height: 36px;

          &.wrong-item {
            background: #f9413a;
            border-color: #f9413a;
            color: #fff;
          }

          &.true-item {
            background: #1db800;
            border-color: #1db800;
            color: #fff;
          }

          &.checked-item {
            background: #1271ff;
            border-color: #1271ff;
            color: #fff;
          }
        }
      }
    }

    .question-right-info {
      height: 72px;
      box-shadow: 0px -3px 10px 0px rgba(20, 114, 255, 0.1);
      display: flex;
      padding: 13px 30px 5px 30px;

      .info-item {
        margin-right: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;

        .color-chunk {
          width: 24px;
          height: 24px;
          border: 1px solid #e5e5e5;
          border-radius: 4px;
          margin-bottom: 10px;
        }

        &.info-item-true {
          .color-chunk {
            background: #1db800;
            border-color: #1db800;
          }
        }

        &.info-item-false {
          .color-chunk {
            background: #f9413a;
            border-color: #f9413a;
          }
        }

        &.info-item-checked {
          .color-chunk {
            background: #1271ff;
            border-color: #1271ff;
          }
        }
      }
    }
  }
}
.no-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 30px;

  .no-text {
    color: #6b6b6b;
    // 修改教师任务和限时任务差异
    // margin-top: 30px;
  }

  &.wrong-question-no {
    margin: 20px 0;
    box-shadow: 0px 2px 10px 0px rgba(20, 114, 255, 0.1);
    border-radius: 12px;
    height: 460px;
  }

  &.knowledges-no-container {
    height: 100%;
  }

  &.example-no-container {
    border-radius: 12px;
  }

  &.task-no-container {
    border-radius: 12px;
    height: 340px;
  }
}
